import axios from "axios";

export const getFileRecord = async () => {
    return (await axios.get("/api/fileRecords")).data;
};
export const getConsumptionRecord = async (params?: any) => {
    return (await axios.post("/api/consumptionRecords", params)).data;
};
